package com.yonyou.crm.cum.customer.rmimpl;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;

import com.alibaba.dubbo.config.annotation.Service;
import com.yonyou.crm.common.page.entity.Page;
import com.yonyou.crm.cum.customer.entity.CustomerVO;
import com.yonyou.crm.cum.customer.rmitf.ICustomerChartRmService;
import com.yonyou.crm.cum.customer.service.CustomerChartBizServiceImpl;

@Service
public class CustomerChartRmServiceImpl implements ICustomerChartRmService {

	@Autowired
	private CustomerChartBizServiceImpl customerChartService;
	
	
	@Override
	public Object getOwnerDatas(Long deptId, Long userId) {
		Object obj = customerChartService.getOwnerDatas(deptId, userId);
		return obj;
	}

	@Override
	public Page<CustomerVO> getCustomers(Page<CustomerVO> page,
			Map<String, Object> paramMap) {
		Page<CustomerVO> list = customerChartService.getCustomers(page, paramMap);
		return list;
	}

	@Override
	public Object getRatio(Long deptId, Long userId) {
		Object ratio = customerChartService.getRatio(deptId, userId);
		return ratio;
	}
	
}
